﻿<%@ Page Language="C#" 
    CodeBehind="XYZAcknowledgePageLayout.aspx.cs" 
    Inherits="XYZ.Acknowledge.acknowledge, $SharePoint.Project.AssemblyFullName$" 
    masterpagefile="~masterurl/default.master"
    meta:progid="SharePoint.WebPartPage.Document" %>
<%@ Register Tagprefix="SharePoint" Namespace="Microsoft.SharePoint.WebControls" Assembly="Microsoft.SharePoint, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %>
<%@ Register Tagprefix="WebPartPages" Namespace="Microsoft.SharePoint.WebPartPages" Assembly="Microsoft.SharePoint, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %>
<%@ Register Tagprefix="PublishingWebControls" Namespace="Microsoft.SharePoint.Publishing.WebControls" Assembly="Microsoft.SharePoint.Publishing, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %>
<%@ Register Tagprefix="PublishingNavigation" Namespace="Microsoft.SharePoint.Publishing.Navigation" Assembly="Microsoft.SharePoint.Publishing, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %>
<%@ Register Tagprefix="Taxonomy" Namespace="Microsoft.SharePoint.Taxonomy" Assembly="Microsoft.SharePoint.Taxonomy, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %>
<%@ Register Tagprefix="SharePointPortalControls" Namespace="Microsoft.SharePoint.Portal.WebControls" Assembly="Microsoft.SharePoint.Portal, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %>
<asp:Content ContentPlaceHolderId="PlaceHolderAdditionalPageHead" runat="server">
	<SharePoint:CssRegistration name="<% $SPUrl:~sitecollection/Style Library/~language/Core Styles/page-layouts-21.css %>" runat="server"/>
	<PublishingWebControls:EditModePanel runat="server" id="editmodestyles">
		<!-- Styles for edit mode only-->
		<SharePoint:CssRegistration name="<% $SPUrl:~sitecollection/Style Library/~language/Core Styles/edit-mode-21.css %>"
			After="<% $SPUrl:~sitecollection/Style Library/~language/Core Styles/page-layouts-21.css %>" runat="server"/>
	</PublishingWebControls:EditModePanel>
</asp:Content>
<asp:Content ContentPlaceHolderID="PlaceHolderPageTitle" runat="server">
	<SharePoint:ListItemProperty runat="server"/>
</asp:Content>
<asp:Content ContentPlaceHolderID="PlaceHolderPageTitleInTitleArea" runat="server">
	<SharePoint:ListItemProperty runat="server"/>
</asp:Content>
<asp:Content ContentPlaceHolderId="PlaceHolderTitleBreadcrumb" runat="server">
	<SharePoint:ListSiteMapPath
		runat="server"
		SiteMapProviders="CurrentNavigation"
		RenderCurrentNodeAsLink="false"
		PathSeparator=""
		CssClass="s4-breadcrumb"
		NodeStyle-CssClass="s4-breadcrumbNode"
		CurrentNodeStyle-CssClass="s4-breadcrumbCurrentNode"
		RootNodeStyle-CssClass="s4-breadcrumbRootNode"
		NodeImageOffsetX=0
		NodeImageOffsetY=353
		NodeImageWidth=16
		NodeImageHeight=16
		NodeImageUrl="/_layouts/images/fgimg.png"
		HideInteriorRootNodes="true"
		SkipLinkText=""/>
</asp:Content>
<asp:Content ContentPlaceholderID="PlaceHolderMain" runat="server">
<script type="text/javascript">
    function xyzdecline() {
            if (confirm ('You cannot use the Employee Network until this policy is accepted.  Click Cancel to return to page and Accept or OK to Close this window and return to the Company Intranet.'))
                {
                    window.open('http://www.google.com/','_blank');
                    window.open('','_self','');
                    window.frameElement.commitPopup();
                    window.close();
                }
            else 
                {
                    return false; 
                }
        }
</script>
	<div style="padding:11px 0px 0px 0px;">
		<div class="col-fluid-1">
			<div class="col-fluid-2">
				<div class="ms-descriptiontext ewiki-margin">
					 <PublishingWebControls:EditPageHyperLink id="editPageLink" Text="<%$Resources:cms,enterwiki_editpage%>" runat="server"/>
				</div>
				<PublishingWebControls:EditModePanel class="ewiki-margin" runat="server">
					<div class="ms-descriptiontext">
						<b class="ewiki-pagename-align"><SharePoint:FieldLabel FieldName="FileLeafRef" runat="server"/></b>
						<SharePoint:FileField id="PageNameInEditMode" CssClass="ewiki-pagename-align" FieldName="FileLeafRef" DisableInputFieldLabel="true" runat="server"/>
					</div>
				</PublishingWebControls:EditModePanel>
				<div class="edit-mode-border">
					<PublishingWebControls:RichHtmlField id="PageContent" FieldName="PublishingPageContent" DisableInputFieldLabel="true" runat="server"/>
				</div>
			</div>
		</div>
		<div class="right-wp-zone-col">
		</div>
	</div>
    <div>
	<table style="width: 100%">
		<tr>
			<td valign="top" style="text-align: right">
			<asp:Button runat="server" Text="Accept" id="btnAccept" onClick="btnAccept_Click" TabIndex="2" /></td>
			<td>
			<asp:Button runat="server" Text="Decline" id="btnDecline" onClientClick="javascript:xyzdecline();" TabIndex="3" /></td>
		</tr>
	</table>
    </div>
</asp:Content>
